package com.graden.background.controller.sysuser.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


/**
 * <p>
 * 用户登录VO类
 * </p>
 *
 * @author zjf
 * @since 2019-03-21
 */
@Data
@ApiModel
public class UserLoginVO {

	@ApiModelProperty(name = "登录账号", value = "user", example = "zhongjianfeng")
	@NotBlank(message = "LOGIN_0002")
	private String user;

	@ApiModelProperty(name = "登录密码", value = "pwd", example = "123456")
	@NotBlank(message = "LOGIN_0003")
	@Size(max = 15,min = 6,message = "USER_0017")
	private String pwd;

}
